import { UIBase } from "../../core/gui/UIBase";
import UI_main_grid from "../../moduleui/main/UI_main_grid";

export default class MainGrid extends UIBase<UI_main_grid> {

    protected createView(): UI_main_grid {
        return UI_main_grid.createInstance();
    }


    protected initialize(): void {
        let view = this.view;
        let graph = new fgui.GGraph();
        graph.setSize(view.width, view.height);
        view.addChild(graph);

        graph.drawRect(2,"#FF0000","#FF0000",);


    }
}